package ModelImplementation

import "salary-paymment/Model"

type HoldMethod struct {
	Model.PaymentMethod
}

//实现PaymentMethod中的Pay方法
func (h HoldMethod)Pay(pc Model.Paycheck)  {
	pc.SetFields("Disposition", "Hold")
}